<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<base th:href="${#request.getContextPath()+'/'}">
	<meta charset="UTF-8">
	<title>regist</title>
	<link rel="stylesheet" type="text/css" href="../css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="../css/bootstrap-theme.css">
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<style type="text/css">
	.registPage{
		width: 500px;
		height: 400px;
		margin: 0 auto;
		margin-top: 300px;
		background-color: yellow;
		padding: 40px;
	}
	.registPage p{
		font-size: 20px;
		text-align: center;
	}
	</style>
</head>
<body>
	<div class="registPage">
	<p>注册页</p><hr>
	</span>
		<form action="user/registUser" method="post">
			<table style="border-collapse:separate; border-spacing:0px 10px;">
			<tr style="text-align: center;"> <td colspan="2"><span style="color: red; "th:text="${mes}"></span></td></tr>
				<tr>
					<td>昵称：</td>
					<td><input type="text" name="userName"  maxlength="7" required="">不超过7个字</input></td>
				</tr>
				<tr>
					<td>账号：</td>
					<td><input type="tel" name="userAccount"  required="">请用真实电话号</input></td>
				</tr>
				<tr>
					<td>密码：</td>
					<td><input type="password" name="userPassword"  maxlength="12" required="">小于12位</input></td>
				</tr>
				<tr>
					<td>收货地址：</td>
					<td><input type="text" name="userAddress"  required=""></input></td>
				</tr>
				<tr>
					<td>邮箱：</td>
					<td><input type="email" name="userMail"  required=""></input>准确邮箱需要激活</td>
				</tr>
				<tr style="text-align: center;">
					<td colspan="2"><input type="submit" value="注册" style="background-color: green;width: 80px;
					height: 30px;line-height: 30px;color: white;"> </input></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>